home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / CIT.v4 / citra / CITFloat.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  638 b   |  38 lines

  1. //
  2. //                    CITFloat include
  3. //
  4. //                          StormC
  5. //
  6. //                     version 2002.01.25
  7. //
  8.  
  9. #ifndef CIT_FLOAT_H
  10. #define CIT_FLOAT_H TRUE
  11.  
  12. #ifndef CIT_INPUT_H
  13. #include "CITString.h"
  14. #endif
  15.  
  16. class CITFloat:public CITString
  17. {
  18.   public:
  19.     CITFloat();
  20.     ~CITFloat();
  21.  
  22.     void   Format(char* f) { formatStr = f; }
  23.     void   Number(double num);
  24.     double Number();
  25.     
  26.   protected:
  27.     virtual Object* NewObjectA(TagItem* tags);
  28.     virtual ULONG hookEntry(struct Hook* inputHook,APTR object,APTR msg);
  29.  
  30.     char* formatStr;
  31.     char  outputStr[32];
  32.     
  33.   private:
  34.     TagItem* floatTag;
  35. };
  36.  
  37. #endif
  38.